// import { formatDate } from "../../common/util/index"
// import CONFIG from "../../common/config/index"
import { Toast } from 'mint-ui';
const Vfilter = {

    phoneRulesFun: function(phone) {
        console.log(phone)
        if (!/^1[345789]\d{9}$/.test(phone)) {
            console.log("验证不通过")
            Toast({
                message: "手机号格式不正确",
                position: "middle",
                duration: 2000
            });
            return false;
        } else {
            console.log("验证通过")
            return true;
        }
        // return newEnable;
    },



}
export default Vfilter